package com.aaa.service.impl;

import com.aaa.dao.T_QuestionsDao;
import com.aaa.service.T_QuestionsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author: TT
 * @Date: 2019/3/12 21:18
 * @Version 1.0
 */
@Service
public class T_QuestionsServiceImpl implements T_QuestionsService {
    @Autowired
   private T_QuestionsDao dao;
    public List<Map> Select(Map map) {
        return dao.Select(map);
    }

    @Override
    public Integer Count(Map map) {
        return dao.Count(map);
    }

    @Override
    public Integer Del(Map map) {
        return dao.Del(map);
    }

    @Override
    public Integer Update(Map map) {
        return dao.Update(map);
    }

    @Override
    public Integer Insert(Map map) {
        return dao.Insert(map);
    }

    @Override
    public List<Map> Year() {
        return dao.Year();
    }

    @Override
    public List<Map> type() {
        return dao.type();
    }

    @Override
    public Integer dels(String id) {

        return  dao.dels(id);
    }
}
